import { Toast } from 'vant';
import icon from '@/assets/img/loading100.gif';
Toast.setDefaultOptions('loading', {
    icon: icon,
    className: 'xc_loading',
    forbidClick: true,
    mask: true,
    overlay: true,
    duration: 0,
    overlayStyle: { background: 'none' },
});

Toast.setDefaultOptions('text', {
    forbidClick: true,
    duration: 1500,
});
